projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811006b
)
tools/libxc: fix errno handling for HVM in xc_domain_save
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Thu, 13 Mar 2014 17:59:49 +0000
(17:59 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Thu, 13 Mar 2014 17:59:49 +0000
(17:59 +0000)
The previous patch (
dda0b77d
"tools/libxc: pass errno to callers of
xc_domain_save") did not jump to the proper label if the domU is HVM.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Olaf Hering <olaf@aepfle.de>
tools/libxc/xc_domain_save.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_domain_save.c
b/tools/libxc/xc_domain_save.c
index 9f96bb75e0db098e8ed0a67573ff7432ea30e467..71f9b596d2d25e7f08e202edfd46e95a9224a3a9 100644
(file)
--- a/
tools/libxc/xc_domain_save.c
+++ b/
tools/libxc/xc_domain_save.c
@@
-1836,8
+1836,7
@@
int xc_domain_save(xc_interface *xch, int io_fd, uint32_t dom, uint32_t max_iter
}
/* HVM guests are done now */
- errno = 0;
- goto out;
+ goto success;
}
/* PV guests only from now on */
@@
-2037,6
+2036,7
@@
int xc_domain_save(xc_interface *xch, int io_fd, uint32_t dom, uint32_t max_iter
}
/* Success! */
+ success:
rc = errno = 0;
goto out_rc;